using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;
using System.ComponentModel.DataAnnotations;

namespace MVC.Models
{
    //Essentially a clone of a Customer from our Northwind database

    [KnownType(typeof(EditableCustomer))]
    public class EditableCustomer
    {
        [Required]
        public String CustomerID { get; set; }

        [Required]
        public String CompanyName { get; set; }

        [Required]
        public String Address { get; set; }

        [Required]
        public String City { get; set; }

        [Required]
        public String Country { get; set; }
    }
}